package com.vhall.component.entity.interactive.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author guoxin.wang
 * @date 2021/5/12
 */
@Data
public class QuestionConsolePublishReqVO implements Serializable {

    private static final long serialVersionUID = -8030219768842140063L;

    /**
     * 问卷id。
     */
    @NotNull(message = "参数错误")
    @ParamName("question_id")
    private Integer questionId;

    /**
     * 房间id
     */
    @NotBlank(message = "参数错误")
    @ParamName("room_id")
    private String roomId;

}
